﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Create.ascx.vb" Inherits="Control_Category_Create" %>
<script type="text/javascript">

    $(function () {

        $(".TextBox:first").focus();
    });
</script>
<asp:UpdatePanel ID="uplCategory" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>
                    <asp:Label ID="Label3" runat="server" Text="THÊM CATEGORY" /></h3>
            </div>
            <div class="box_contentform">
                <div class="box_scroll_grid">
                    <div class="DivRequired">
                        <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
                    </div>
                    <div class="Error">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="lblTitle" CssClass="TextLabel" runat="server" Text="Tiêu đề:" />
                            <span class="fieldRequired">&nbsp;</span>
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtTitle" CssClass="TextBox" runat="server" Text="" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Vui lòng nhập tiêu đề"
                                ControlToValidate="txtTitle" Display="None"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Code Init:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtTitleEn" CssClass="TextBox" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="lblParentid" CssClass="TextLabel" runat="server" Text="Mô tả:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtDescription" CssClass="TextBox" runat="server" Text="" TextMode="MultiLine"
                                Width="250px" Columns="5" Height="100px" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            &nbsp;&nbsp;&nbsp;</div>
                        <div class="DivTextBox">
                            <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                            <asp:Button ID="btnHuy" CausesValidation="false" runat="server" Text=" Hủy " CssClass="btn" />&nbsp;
                        </div>
                    </div>
                </div>
                <div style="display: none">
                    <asp:HiddenField ID="hidID" Value="0" runat="server" />
                </div>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
